//
//  BatchProductModel.h
//  quickBatchManager
//
//  Created by 王定波 on 15/9/28.
//  Copyright © 2015年 jack. All rights reserved.
//

#import "BaseModel.h"
#import "SupplierModel.h"

@interface BatchProductModel : BaseModel
@property (nonatomic,strong) NSString *batchNo;
@property double totalPrice;//总价格
@property double totalNumber;
@property double batchPrice;//折扣后的价格
@property BOOL isPay;//支付状态 0 未支付  1 已支付
@property (nonatomic,strong) NSString *payType;
@property (nonatomic,strong) NSString *createDate;
@property (nonatomic,strong) NSString *updateDate;
@property (nonatomic,strong) NSString *remark;
@property (nonatomic,strong) NSString *tspayType;
@property float discount;//折扣
@property double paidPrice;//已支付 定金
@property double unpaidPrice;//未支付
@property double moLingPrice;//抹零
@property double deptPrice;//余额结算
@property BOOL isOver;//是否结束批次
@property (nonatomic) NSInteger supplierId;//供应商
@property NSInteger batchId;

@property (nonatomic,readonly) SupplierModel *supplier;

@end
